package com.duan.mapper;


import com.duan.base.BaseMapper;
import com.duan.pojo.Record;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface RecordMapper extends BaseMapper<Record> {
    public int deleteByUserId(Integer id);

    public int batchInsert(List<Integer> memberIds, Integer awardId);

    public int deleteByAwardId(Integer id);

    public int deleteByMemberId(Integer id);
}
